/*
 * @Description:
 * @Author: Richeneen
 * @Date: 2022-10-12 15:22:48
 * @LastEditTime: 2022-10-24 00:29:38
 * @LastEditors: Richeneen
 */
// 资讯管理API
import { get, post } from '@/utils/request'
// 分页获取风采列表
export function queryArticleList(params) {
  return get('/article/pageQuery', params)
}
// 审核风采
export function changeStatus(id, status) {
  return post('/article/changeStatus', { id, status })
}
// 推荐风采
export function updateArticle(params) {
  return post('/article/changeStatus', params)
}
// 通过id删除风采
export function deleteArticle(params) {
  return get('/article/deleteById', params)
}

